home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / GAMEECTS / UNPROT4.LZH / MEAN18.TXT < prev    next >
Text File  |  1989-03-28  |  6KB  |  135 lines

  1. (The third MEAN18 unprotect, for the current (11/87) EGA version)
  2.  
  3. The current EGA version of MEAN18 (11/87) uses a more sophisticated means of
  4. copy protection than previous versions, but, as with most protection schemes,
  5. it is rather easy to break if you know what you are looking for.  We do!
  6.  
  7. To perform this unprotect, you will need the Norton Utilities or another
  8. file oriented editor.  (Like FM, included onthis disk.  PBS) Load
  9. GOLF.EXE into the editor, and search for the following byte pattern:
  10.  
  11.                       E9 C9 00 BB F1 01
  12.  
  13. If you do not find this pattern, go no further; your version of MEAN18 is not
  14. compatible with this unprotect.
  15.  
  16. Replace the bytes shown above with the following byte pattern:
  17.  
  18.                       EB 7F 90 BB F1 01
  19.  
  20. Write out the altered file.  GOLF.EXE is now unprotected, and will run off
  21. floppy or hard disk without the need for the key disk.
  22.  
  23. It is hard to believe that after going to the trouble of protecting the two
  24. main programs that comprise MEAN18, they'd be silly enough to use the identical
  25. scheme for both, down to the byte locations, but they WERE that silly!
  26.  
  27. ARCH.EXE may be unprotected in EXACTLY the same fashion.  Search for the same
  28. byte pattern shown for GOLF.EXE, and replace it with the same replacement byte
  29. pattern given above.  Write out the altered file.
  30.  
  31.  
  32.  
  33. ----------------------------------------------------
  34.  
  35.  
  36.  
  37. This routine is a patch which breaks the copy protection
  38. of Accolade's Mean 18 golf game for the IBM PC.
  39.  
  40. Written by Kent Briggs  8/21/88
  41.  
  42. ** Do not modify your original disk **
  43.  
  44. Copy all your files to another disk or to a subdirectory
  45. on your hard disk and put the original disk away in a safe place.
  46.  
  47. Mean 18 does not indicate a version number but the file size
  48. for GOLF.EXE should be 89375 bytes.  The copy protection scheme
  49. looks for a bad sector on drive A.  We will patch 4 calls to this
  50. routine with NOP's (no operation) and patch 1 JUMP to an early exit
  51. with a NOP.
  52.  
  53. Put DEBUG.COM (from your DOS disk) in the same directory or make sure
  54. it is in the DOS path.  Type the following commands:
  55.  
  56. Command                                  Comments
  57. =======                                  ========
  58. ren golf.exe golf.xxx                    Rename program for debug
  59. debug golf.xxx                           Load debug
  60. rcs                                      Check contents of cs register
  61. (retype the 4 digits shown, but          The code that we want to change
  62.  add 1 to the left digit first)          is beyond the current 64K segment
  63. e cs:4fe3 90 90 90                       NOP the first call
  64. e cs:4fec 90 90 90                       NOP the second call
  65. e cs:500a 90 90 90                       NOP the third call
  66. e cs:5019 90 90 90                       NOP the fourth call
  67. e cs:5058 90 90                          NOP the early exit jump
  68. rcs                                      Check cs register again
  69. (retype the 4 digits shown, but          Restore the cs register to its
  70.  subtract 1 from the left digit first)   original state
  71. w                                        Write file back to the disk
  72. q                                        Quit debug
  73. ren golf.xxx golf.exe                    Restore file name
  74. =======                                  ========
  75.  
  76. Now run GOLF and confirm that the patch works.
  77.  
  78.  
  79. The Course Architect program (ARCH.EXE) is also copy protected with an
  80. identical scheme.  The size of ARCH.EXE should be 49631 bytes.  No
  81. segment registers have to be altered since all the code will fit into
  82. 1 segment.
  83.  
  84. Command                                  Comments
  85. =======                                  ========
  86. ren arch.exe arch.xxx                    Rename program for debug
  87. debug arch.xxx                           Load debug
  88. e bd9a 90 90 90                          NOP the first call
  89. e bda3 90 90 90                          NOP the second call
  90. e bdc1 90 90 90                          NOP the third call
  91. e bdd0 90 90 90                          NOP the fourth call
  92. e be0f 90 90                             NOP the early exit jump
  93. w                                        Write file back to the disk
  94. q                                        Quit debug
  95. ren arch.xxx arch.exe                    Restore file name
  96. =======                                  ========
  97.  
  98. Now run ARCH and confirm that the patch works.
  99.  
  100.  
  101.  
  102. ----------------------------------------------------
  103.  
  104.  
  105.  
  106. There have been questions about unprotecting the 106,512 version of
  107. Mean-18.  I thought the correct version was on this board but it's not.
  108. I have compared my busted version with the original and the following
  109. describes all the differences in the file s.  I am NOT expert at this
  110. so if the instructions don't make sense, GET A COMPETENT FRIEND TO DO
  111. IT!!!
  112.  
  113. First, ARCH.EXE, load debug and dump EA1C.  It should start CD 13 72 49.
  114. If it does, start at EA1C and patch NOP's for EXACTLY 21 instructions.
  115. The command should read: e ea1c 90 90 90 90 90 90 90 90 90 90 90 90 90
  116. 90 90 90 90 90 90 90 90 Then save the file.
  117.  
  118. Now for Mean-18.  The instructions are basically the same as for ARCH.
  119. The EXACT same thing needs to be done at the proper place in Mean-18.
  120. Load debug and do the following:
  121.  
  122. rcx             add 1 to the left digit
  123. d cs:9aac       you should see CD 13 etc.
  124. e cs:9aac       <-- follow this with twenty-one 90's as above
  125. w
  126. q
  127.  
  128. That should do the dirty deed.  My copy has been working with no
  129. problems for about a year now.  This is the only version of many patches
  130. I tried that worked.  If you have the latest version og Mean-18 that is
  131. 89,375 bytes long, the break by Kent Briggs works fine.  It broke my
  132. sister's copy.
  133.  
  134. Glenn Rose 2/6/89
  135.